import request from '@/utils/request'

// 查询聘用记录列表
export function listMediationEmployRecord(query) {
  return request({
    url: '/employ/mediationEmployRecord/list',
    method: 'get',
    params: query
  })
}

// 查询聘用记录详细
export function getMediationEmployRecord(id) {
  return request({
    url: '/employ/mediationEmployRecord/' + id,
    method: 'get'
  })
}

// 保存聘用记录
export function saveMediationEmployRecord(data) {
  return request({
    url: '/employ/mediationEmployRecord/save',
    method: 'post',
    data: data
  })
}

// 删除聘用记录
export function delMediationEmployRecord(id) {
  return request({
    url: '/employ/mediationEmployRecord/' + id,
    method: 'delete'
  })
}

// 导出聘用记录
export function exportMediationEmployRecord(query) {
  return request({
    url: '/employ/mediationEmployRecord/export',
    method: 'get',
    params: query
  })
}
